﻿// -----------------------------------------------------------------------
// <copyright file=PhieuPhauThuatThuThuatDiChuyenChiTietBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class PhieuPhauThuatThuThuatDiChuyenChiTietBusiness
    {
        PhieuPhauThuatThuThuatDiChuyenChiTietDataAccess objDa = null;

        public PhieuPhauThuatThuThuatDiChuyenChiTietBusiness()
        {
            objDa = new PhieuPhauThuatThuThuatDiChuyenChiTietDataAccess();
        }

        public bool InsertPhieuPhauThuatThuThuatDiChuyenChiTiet(PhieuPhauThuatThuThuatDiChuyenChiTietEntity obj)
        {
            return objDa.InsertPhieuPhauThuatThuThuatDiChuyenChiTiet(obj);
        }

        public bool EditPhieuPhauThuatThuThuatDiChuyenChiTiet(PhieuPhauThuatThuThuatDiChuyenChiTietEntity obj)
        {
            return objDa.EditPhieuPhauThuatThuThuatDiChuyenChiTiet(obj);
        }

        public bool DeletePhieuPhauThuatThuThuatDiChuyenChiTiet(string maPhauThuatThuThuat, string maChiTieu)
        {
            return objDa.DeletePhieuPhauThuatThuThuatDiChuyenChiTiet(maPhauThuatThuThuat, maChiTieu);
        }

        public bool DeletePhieuPhauThuatThuThuatDiChuyenChiTiet_ByMaPhauThuatThuThuat(string maPhauThuatThuThuat) {
            return objDa.DeletePhieuPhauThuatThuThuatDiChuyenChiTiet_ByMaPhauThuatThuThuat(maPhauThuatThuThuat);
        }

        public PhieuPhauThuatThuThuatDiChuyenChiTietEntity GetPhieuPhauThuatThuThuatDiChuyenChiTiet(string maPhauThuatThuThuat, string maChiTieu)
        {
            return objDa.GetPhieuPhauThuatThuThuatDiChuyenChiTiet(maPhauThuatThuThuat, maChiTieu);
        }

        public IList<PhieuPhauThuatThuThuatDiChuyenChiTietEntity> GetPhieuPhauThuatThuThuatDiChuyenChiTietList()
        {
            return objDa.GetPhieuPhauThuatThuThuatDiChuyenChiTietList();
        }

        public IList<PhieuPhauThuatThuThuatDiChuyenChiTietEntity> GetPhieuPhauThuatThuThuatDiChuyenChiTietByMaPhieuPList(string maPhieu)
        {
            return objDa.GetPhieuPhauThuatThuThuatDiChuyenChiTietByMaPhieuList(maPhieu);
        }
    }
}